package com.letoken.platform.job;

import com.letoken.platform.pub.configuration.ThreadPoolConfig;
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
/**
 * @author letokenlabs
 */
@EnableAsync
@EnableConfigurationProperties({ThreadPoolConfig.class})
@ComponentScan({"com.letoken.platform"})
@MapperScan({"com.letoken.platform.repo"})
@SpringBootApplication
@EnableEncryptableProperties
@Slf4j
public class JobExecutorApplication {

    public static void main(String[] args) {
        SpringApplication.run(JobExecutorApplication.class, args);
    }
}
